<template>
  <div>
    <h1>list1</h1>
    <List2  @getListData='getListDatann'/>
  </div>
</template>

<script>
import List2 from './list'
export default {
  name: "List",
  components:{
    List2
  },
  methods: {
    getListDatann(list){
        this.$emit('atguigu',list)
    }
  },

 
};
</script>

<style>
</style>